/*******************************************************************
 * 
 *  Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
 *
 *  Description: Header file for UPnP playlist functionality.
 *
 *  Author: Amlogic
 *  Created: 4/3/2006 11:36PM
 *
 *******************************************************************/

#ifndef FS_PLAYLIST_H
#define FS_PLAYLIST_H

extern Playlist_t *
fs_playlist_create(unsigned char* path_name ,unsigned media_type, 
                     PlaylistType_t list_type,
                     int c_index,int search_way,unsigned* app_type);

int GetFirstPlaylistIndex(INT32U get_media_type);

Playlist_t *
fs_playlist_create_nodir(char* path_name ,unsigned media_type, 
                     PlaylistType_t list_type,
                     int c_index,int search_way,unsigned* app_type);
                     
int fs_filelist_create_nodir(char* path_name ,unsigned media_type, 
                     PlaylistType_t list_type,
                     int search_way);
                                          
#define DIR_SEARCH_DEPTH 0xf00  //dir search depth up to 15 level,default is 0x300(3 level)

#endif /* FS_PLAYLIST_H */
